<#macro head>
<link rel="stylesheet" type="text/css" href="${request.contextPath}/assets/fancytree/css/ui.fancytree.css?v=3553060703">
<link rel="stylesheet" type="text/css" href="${request.contextPath}/assets/fancytree/css/sample.css?v=3553060703">
<style type="text/css">
    .ui-fancytree {
        border-style: none !important;
    }
</style>
</#macro>

<#macro foot>
<script type="text/javascript" src="${request.contextPath}/assets/js/jquery-ui.min.js?v=3653060703"></script>
<script type="text/javascript" src="${request.contextPath}/assets/fancytree/js/jquery.fancytree-all.min.js?v=3553060703"></script>
<script type="text/javascript" src="${request.contextPath}/assets/fancytree/js/sample.js?v=3553060703"></script>
<script type="text/javascript" src="${request.contextPath}/assets/fancytree/js/menu-service.js?v=3553060703"></script>
<script type="text/javascript" src="${request.contextPath}/assets/fancytree/js/dictionary-service.js?v=3553060703"></script>
</#macro>

<#macro menudata menu>
{"title":"${menu.cModelName}","selected":"${menu.selected}","expanded":"true","key":"${menu.cModelID}"<#if menu.children?exists>,"folder":true,"children":[<#list menu.children as childMenu><@menudata menu=childMenu/><#if childMenu_has_next>,</#if></#list>]</#if>}
</#macro>